package com.xuanyue.componentim.tool;

import com.baomidou.mybatisplus.core.toolkit.Sequence;

/**
 * 获取雪花ID
 */
public class SequenceTool {

    private static Sequence sequence = new Sequence();

    public static String getId(){
        return String.valueOf( sequence.nextId() );
    }

}